package com.fsdcic.box.adapter;

import java.util.ArrayList;
import java.util.List;

import com.fsdcic.box.util.sql.rest.BaseRest;

public class C_queryByPagerComplexBox extends BaseBox {

	public C_queryByPagerComplexBox() {
		super.setType(BaseBox.TYPE_C_QUERYBYPAGERCOMPLEX);
	}
	
	private String displayColumn;
	private String tableName;
	private String orderBy;
	private List<BaseRest> criteria = new ArrayList<BaseRest>();

	
	public void addRest(BaseRest rest){
		criteria.add(rest);
	}
	
	public List<BaseRest> getCriteria() {
		return criteria;
	}
	public String getDisplayColumn() {
		return displayColumn;
	}
	public void setDisplayColumn(String displayColumn) {
		this.displayColumn = displayColumn;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public String getOrderBy() {
		return orderBy;
	}
	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
}
